go.uber.org/mock/gomock.Call.t (field)
19 uses
go.uber.org/mock/gomock (current package)
call.go#L26: t TestHelper // for triggering test failures on invalid call setup
call.go#L79: t: t, receiver: receiver, method: method, methodType: methodType,
call.go#L119: c.t.Helper()
call.go#L123: c.t.Fatalf("wrong number of arguments in DoAndReturn func for %T.%v The function signature must match the mocked method, a variadic function cannot be used.",
call.go#L126: c.t.Fatalf("wrong number of arguments in DoAndReturn func for %T.%v: got %d, want %d [%s]",
call.go#L160: c.t.Helper()
call.go#L164: c.t.Fatalf("wrong number of arguments in Do func for %T.%v The function signature must match the mocked method, a variadic function cannot be used.",
call.go#L167: c.t.Fatalf("wrong number of arguments in Do func for %T.%v: got %d, want %d [%s]",
call.go#L189: c.t.Helper()
call.go#L193: c.t.Fatalf("wrong number of arguments to Return for %T.%v: got %d, want %d [%s]",
call.go#L205: c.t.Fatalf("argument %d to Return for %T.%v is nil, but %v is not nillable [%s]",
call.go#L215: c.t.Fatalf("wrong type of argument %d to Return for %T.%v: %v is not assignable to %v [%s]",
call.go#L237: c.t.Helper()
call.go#L243: c.t.Fatalf("SetArg(%d, ...) called for a method with %d args [%s]",
call.go#L253: c.t.Fatalf("SetArg(%d, ...) argument is a %v, not assignable to %v [%s]",
call.go#L259: c.t.Fatalf("SetArg(%d, ...) referring to argument of non-pointer non-interface non-slice non-map type %v [%s]",
call.go#L290: c.t.Helper()
call.go#L293: c.t.Fatalf("A call isn't allowed to be its own prerequisite")
call.go#L296: c.t.Fatalf("Loop in call order: %v is a prerequisite to %v (possibly indirectly).", c, preReq)